package top.zywork.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.zywork.dao.UserPersonalSettingDAO;
import top.zywork.dos.UserPersonalSettingDO;
import top.zywork.dto.UserPersonalSettingDTO;
import top.zywork.service.AbstractBaseService;
import top.zywork.service.UserPersonalSettingService;

import javax.annotation.PostConstruct;

/**
 * UserPersonalSettingServiceImpl服务接口实现类<br/>
 *
 * 创建于2019-08-21<br/>
 *
 * @author http://zywork.top 王振宇
 * @version 1.0
 */
@Service(value = "userPersonalSettingService")
public class UserPersonalSettingServiceImpl extends AbstractBaseService implements UserPersonalSettingService {

    private UserPersonalSettingDAO userPersonalSettingDAO;

    @Autowired
    public void setUserPersonalSettingDAO(UserPersonalSettingDAO userPersonalSettingDAO) {
        super.setBaseDAO(userPersonalSettingDAO);
        this.userPersonalSettingDAO = userPersonalSettingDAO;
    }

    @PostConstruct
    public void init() {
        super.init(UserPersonalSettingDO.class, UserPersonalSettingDTO.class);
    }
}
